package cn.tedu._052mvcboot02.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

//设置为配置类,会自动加载
@Configuration
//设置自动扫描,会自动为mapper包下的接口创建实现类
@MapperScan("cn.tedu._052mvcboot02.mapper")
public class MyBatisConfig {
}
